﻿﻿using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

namespace UFrame
{
    [CanEditMultipleObjects]
    [CustomEditor(typeof(UGUISortChild))]
    public class UGUISortChildEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            if (GUILayout.Button("刷新"))
            {
                UGUISortChild uc = target as UGUISortChild;
                uc.Sort();
            }

        }
    }
}